package com.cskaoyan.bean.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class UpdateAdminVo {

    /**
     * id : 10
     * username : linusss
     * password : $2a$10$Q/L73x43rXar3kUKwNkgeughIeN6yE4c0khnywd5kjpG4eAtDIN/K
     * avatar : http://182.92.235.201:8083/wx/storage/fetch/063s3fvmu8makijuxlo0.jpg
     * updateTime : 2021-06-05 12:41:36
     * roleIds : [1,11]
     */

    private int id;
    private String username;
    private String password;
    private String avatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer[] roleIds;

}
